home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Voodoo Banshee 2.xpl < prev    next >
Text File  |  2000-11-12  |  2KB  |  73 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH"="Hardware\Video Cards\Voodoo Banshee"
  5. "NAME"="OpenGL/Glide Settings"
  6. "VERSION"="1.02"
  7. "OSVERSION"="10101"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Enable VSynch in OpenGL/Glide Mode"
  10. "TEXT 2"="Enable MipMap dithering in OpenGL/Glide mode
  11. "TEXT 3"="Enable 3dfx splash screen in OpenGL/Glide mode
  12. "DESCRIPTION 1"="If "VSynch" is enabled, it will increase image quality. Enabling this feature may help fix graphic distortions in some games."
  13. "DESCRIPTION 2"="If "MipMap" is enabled, it will increase image quality. Disable this feature it to increase performance."
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"=" "
  18. "COMMENT 2"="Thanks to CptSiskoX for Voodoo Banshee settings."
  19.  
  20.  
  21. sV1="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Glide\FX_GLIDE_SWAPINTERVAL" 'STR
  22. sV2="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Glide\FX_GLIDE_LOD_DITHER" 'STR
  23. sV3="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Glide\FX_GLIDE_NO_SPLASH" 'STR
  24. Sub Plugin_Initialize 
  25.     i=RegReadValue(sV1)
  26.     if i="1" then SetUiElement 1,true
  27.  
  28.     i=RegReadValue(sV2)
  29.     if i="1" then SetUiElement 2,true
  30.  
  31.     i=RegReadValue(sV3)
  32.     if i="0" or IsEmpty(i) then SetUiElement 3,true
  33. End Sub
  34.  
  35.  
  36. Sub Plugin_CheckData(ElementIndex)
  37. End Sub
  38.  
  39.  
  40.  
  41. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  42.  b=GetUIElement(1)
  43.  if b=true then
  44.     i=1
  45.  else
  46.     i=0
  47.  end if
  48.  Call RegWriteValue(sV1,i,1)
  49.  
  50.  b=GetUIElement(2)
  51.  if b=true then
  52.     i=1
  53.  else
  54.     i=0
  55.  end if
  56.  Call RegWriteValue(sV2,i,1)
  57.  
  58.  b=GetUIElement(3)
  59.  if b=true then
  60.     i=0
  61.  else
  62.     i=1
  63.  end if
  64.  Call RegWriteValue(sV3,i,1)
  65.  
  66.  
  67.  Call Restart()
  68. End Sub
  69.  
  70.  
  71. Sub Plugin_Terminate 
  72. End Sub
  73.